﻿@using PagedList
@using PagedList.Mvc

@model IPagedList

<br />
<hr />
<span>Page @(Model.PageCount < Model.PageNumber ? 0 : Model.PageNumber) of @(Model.PageCount)</span>

@Html.PagedListPager(Model, page => Url.Action(ViewContext.RouteData.Values["action"].ToString(), new { page }))
